/*
 * 首页 数据
 * 
 */
function getIndexxuancai() {
  var arr = [{
      id: 21,
      PID: 0,
      icon: "../../images/icon-shoose1.png",
      title: "电脑"
    },
    {
      id: 22,
      PID: 0,
      icon: "../../images/icon-shoose2.png",
      title: "名牌"
    },
    {
      id: 23,
      PID: 0,
      icon: "../../images/icon-shoose3.png",
      title: "用品"
    },
    {
      id: 41,
      PID: 0,
      icon: "../../images/icon-shoose4.png",
      title: "水果"
    },
    {
      id: 42,
      PID: 0,
      icon: "../../images/icon-shoose5.png",
      title: "音响"
    },
    {
      id: 31,
      PID: 0,
      icon: "../../images/icon-shoose1.png",
      title: "电脑"
    },
    {
      id: 32,
      PID: 0,
      icon: "../../images/icon-shoose2.png",
      title: "名牌"
    },
    {
      id: 33,
      PID: 0,
      icon: "../../images/icon-shoose3.png",
      title: "用品"
    },
    {
      id: 34,
      PID: 0,
      icon: "../../images/icon-shoose4.png",
      title: "水果"
    },
    {
      id: 35,
      PID: 0,
      icon: "../../images/icon-shoose5.png",
      title: "音响"
    },
  ]
  return arr
}

// 详情页nav切换
function detailnav() {
  var arr = [{
      id: 1,
      title: "商品",
    },
    {
      id: 2,
      title: "详情",
    },
    {
      id: 3,
      title: "评价",
    },
  ]
  return arr
}

function comment() {
  var arr = [{
      id: 1,
      title: "全部",
    },
    {
      id: 2,
      title: "好评",
    },
    {
      id: 3,
      title: "中评",
    },
    {
      id: 4,
      title: "差评",
    }
  ]
  return arr
}

function getMenuDates()
{
  var arr = [
    { 'id':1,
      'title': '我的订单',
      'icon': '../../static/images/02.jpg'
    },
    {
      'id': 2,
      'title': '我的收藏',
      'icon': '../../static/images/02.jpg' 
    }, 
    { 
      'id': 3,
      'title': '我的地址', 
      'icon': '../../static/images/02.jpg'
     },
    {
      'id': 4,
      'title': '右侧无箭头列表',
      'icon': '../../static/images/02.jpg'
    }
 ]
 return arr
}
/*
 * 对外暴露接口
 */
module.exports = {
  getIndexxuancai: getIndexxuancai,
  getMenuDates: getMenuDates,
  detailnav: detailnav,
  comment: comment,

}